package com.media.publish.bean;

import java.io.Serializable;

public class EditVideoAttributeBean implements Serializable {
    private static final long serialVersionUID = 7316006064024610088L;
    private String filterAttr;//滤镜名称
    private String videoMusicAttr;//音乐路径
    private StickerTextViewBean videoAddTextAttr;//添加的文字控件
    private StickerImageViewTwoBean videoStickerAttr;//添加的文字控件

    public String getFilterAttr() {
        return filterAttr;
    }

    public void setFilterAttr(String filterAttr) {
        this.filterAttr = filterAttr;
    }

    public String getVideoMusicAttr() {
        return videoMusicAttr;
    }

    public void setVideoMusicAttr(String videoMusicAttr) {
        this.videoMusicAttr = videoMusicAttr;
    }

    public StickerTextViewBean getVideoAddTextAttr() {
        return videoAddTextAttr;
    }

    public StickerImageViewTwoBean getVideoStickerAttr() {
        return videoStickerAttr;
    }

    public void setVideoAddTextAttr(StickerTextViewBean videoAddTextAttr) {
        this.videoAddTextAttr = videoAddTextAttr;
    }

    public void setVideoStickerAttr(StickerImageViewTwoBean videoStickerAttr) {
        this.videoStickerAttr = videoStickerAttr;
    }

    public static class StickerTextViewBean implements Serializable {
        private static final long serialVersionUID = -1249151979270237381L;

        public StickerTextViewBean(int left, int right, int top, int bottom, String content, int color, float textSize, float rotate, float scale, int viewHeight) {
            this.left = left;
            this.right = right;
            this.top = top;
            this.bottom = bottom;
            this.content = content;
            this.color = color;
            this.textSize = textSize;
            this.rotate = rotate;
            this.scale = scale;
            this.viewHeight = viewHeight;
        }

        public int left;
        public int right;
        public int top;
        public int bottom;
        public String content = "";//旋转内容
        public int color;//文字颜色
        public float textSize;//字体大小
        public float rotate;//旋转角度
        public float scale;//缩放比例
        public int viewHeight;//预览视频的高度

    }

    public static class StickerImageViewTwoBean implements Serializable {
        private static final long serialVersionUID = 5138680985510118832L;

        public StickerImageViewTwoBean(int left, int right, int top, int bottom, float rotate, float scale, String drawablePath) {
            this.left = left;
            this.right = right;
            this.top = top;
            this.bottom = bottom;
            this.rotate = rotate;
            this.scale = scale;
            this.drawablePath = drawablePath;
        }

        public int left;
        public int right;
        public int top;
        public int bottom;
        public float rotate;//旋转角度
        public float scale;//缩放比例
        public String drawablePath="";

    }

}
